//
//  EnrollView.h
//  项目三
//
//  Created by rimi1 on 2016/11/30.
//  Copyright © 2016年 Wangxingqian. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "EnrollTextFieldView.h"

@class EnrollView;

@protocol EnrollViewDelegate <NSObject>

- (void)enrollView:(EnrollView *)enrollView tapOfSureWithIs:(BOOL)is account:(NSString *)account password:(NSString *)password name:(NSString *)name sex:(NSString *)sex;

@end

@interface EnrollView : UIView

@property (nonatomic, weak) id <EnrollViewDelegate> delegate;

@property (nonatomic, strong) EnrollTextFieldView *account;
@property (nonatomic, strong) EnrollTextFieldView *password;
@property (nonatomic, strong) EnrollTextFieldView *samePassword;
@property (nonatomic, strong) EnrollTextFieldView *name;
@property (nonatomic, strong) UIButton *boy;
@property (nonatomic, strong) UIButton *girl;
@property (nonatomic, strong) UIButton *sureButton;

- (void)enrollSucceed;

@end



